<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<c:set var="ctx" value=" ${pageContext.request.contextPath}" />
<html>
<head>
<title>审计明细管理</title>
<script src="${ctx}/static/selectWin/employeeSelector.js?version=${applicationScope.jsVersion }" type="text/javascript"></script>
<script src="${ctx}/static/selectWin/orgSelector.js?version=${applicationScope.jsVersion }" type="text/javascript"></script>
<script type="text/javascript">

	var $grid;
	var $employeeSelector 
	$(function() {
		
		
		$("#isCxzgSB").switchbutton({
			onText : "是",
			offText : "否",
			checked : true,
			onChange : function(checked) {
				if (checked) {
					$("#isCxzg").val(1);
				} else {
					$("#isCxzg").val(0);
				}
			}
		});
		
		
		fn_edit();
		
		

	});
	 
	 function fn_edit() {
			
				$("#dlg-btn").show();
				$("#dlg").dialog("open").dialog("setTitle", "编辑审计明细");
			
				$("#isCxzgSB").switchbutton("${auditProDtl.isCxzg}" == "1" ? "check" : "uncheck");


			  

	}
</script>
</head>



<body>
	<div data-options="region:'center',fit:true,border:false">
		<div id="dlg" class="easyui-dialog" style="width: 580px; height: 310px; padding: 10px 20px"
			data-options="resizable:true,modal:true, buttons:'#dlg-btn',closed:true,closable:false">
			<form id="fm" method="post">
				<input type="hidden" name="id" value="${auditProDtl.id}"/>
			
				<table id="tbl">
					<tr>
						<td><label>下一年是否持续整改:</label></td>
						<td><input id="isCxzg" name="isCxzg" type="hidden"> <input id="isCxzgSB"></td>
					</tr>
				</table>
			</form>
			<div id="dlg-btn">
				<button id="add" type="button" class="btn btn-primary"
					onclick="formSave('#fm', null, null, '${ctx}/fnd/auditProDtl/update',showInfo('保存成功'))">
					<span class="glyphicon glyphicon-ok"></span> 保存
				</button>
				<!-- <button id="edit" type="button" class="btn btn-primary" onclick="$('#dlg').dialog('close');">
					<span class="glyphicon glyphicon-remove"></span> 取消
				</button> -->
			</div>
		</div>	
	</div>
	

			
		 
		

</body>
</html>
